Technical Q&As

QTW 80 - Checking for Valid QTW Installation (27-September-96)


Q Our install program checks to see if QTW is installed so we know whether or not we need to install it before running the rest of our program. Is there any way to check, perhaps in an '.ini' file, what version of QTW is installed?


A Because there is no uninstaller for QuickTime for Windows when running on Windows 3.1, users often attempt to uninstall it manually. This means that some (or even most) of the files may be present, but that the installation is no longer valid.

For this reason, there is no way to detect a valid installation by just looking at or in QTW files. A program must make a call to QTInitialize() and check the return value. It may also be possible to do this check by issuing an MCI OPEN command.

As reinstalling QTW over an already-valid installation can't hurt, the simple solution is to always invoke the QTW installer. A user can choose to exit the install if they know that QTW is already installed.



Technical Q &A's
Previous Question | Contents | Next Question